package com.lzm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Chargeproject {
    private Integer chaP_id;

    private String chaP_name;

    private BigDecimal chaP_money;
    @JsonFormat(pattern = "yyyy-MM-dd hh:dd:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:dd:ss")
    private Date chaP_date;

    private Integer chaP_state;

    public Date getChaP_date() {
        return chaP_date;
    }

    public void setChaP_date(Date chaP_date) {
        this.chaP_date = chaP_date;
    }

    public Integer getChaP_state() {
        return chaP_state;
    }

    public void setChaP_state(Integer chaP_state) {
        this.chaP_state = chaP_state;
    }

    @Override
    public String toString() {
        return "Chargeproject{" +
                "chaP_id=" + chaP_id +
                ", chaP_name='" + chaP_name + '\'' +
                ", chaP_money=" + chaP_money +
                ", chaP_date=" + chaP_date +
                ", chaP_state=" + chaP_state +
                '}';
    }

    public Integer getChaP_id() {
        return chaP_id;
    }

    public void setChaP_id(Integer chaP_id) {
        this.chaP_id = chaP_id;
    }

    public String getChaP_name() {
        return chaP_name;
    }

    public void setChaP_name(String chaP_name) {
        this.chaP_name = chaP_name == null ? null : chaP_name.trim();
    }

    public BigDecimal getChaP_money() {
        return chaP_money;
    }

    public void setChaP_money(BigDecimal chaP_money) {
        this.chaP_money = chaP_money;
    }
}